const Person = function(name, age) {
    this.name = name
    this.age = age
} /* 1 */

Person.prototype.getName = function() {
    return this.name
} /* 2 */

Person.prototype.getAge = function() {
    return this.age
} /* 3 */

const ob = new Person('ulivz', 24); /* 4 */

console.log(ob) /* 5 */
console.log(ob.getName(), ob.getAge()) /* 6 */

console.log(ob.__proto__ === Person.prototype);
